package com.qrxl.user.vo.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.List;

@Data
@ApiModel(value = "用户关联角色请求参数", description = "请求参数类")
public class UserRelRoleReq {

    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty(value = "用户ID", required = true)
    private String userId;

    @NotNull(message = "用户ID不能为空")
    @ApiModelProperty(value = "角色ID列表", required = true)
    private List<String> roleIdList;
}
